
package com.redteam.data.enums;

/**
 * Contains value and methods of <code>ReservationState</code> enum.
 * @author Jezreel Wilson
 */
public enum PersonType {
    /**
     * <code>PersonType</code> of type Charter Customer
     */

    charterCustomer("charterCustomer"),

    person("person"),

    /**
     * <code>PersonType</code> of type Mechanic
     */
    mechanic("mechanic"),
    /**
     * <code>PersonType</code> of type Reservation Agent
     */
    reservationAgent("reservationAgent"),
    /**
     * <code>PersonType</code> of type Pilot
     */
    pilot("pilot"),
    /**
     * <code>PersonType</code> of type Student
     */
    student("student"),
    /**
     * <code>PersonType</code> of type Instructor
     */
    instructor("instructor"),
    /**
     * <code>PersonType</code> of type Administrator
     */
    administrator("administrator"),
    /**
     * <code>PersonType</code> of type Charter Pilot
     */
    charterPilot("charterPilot");

    private String shortHand;
    /**
     * Creates <code>PersonType</code>
     * @param rep
     * Takes abbreviation of <code>PersonType</code>
     */
    PersonType(String shortH){
        this.shortHand=shortH;
    }

    /**
     * Gets abbreviation of <code>PersonType</code>
     * @return
     * shortHand
     */
    public String getShortHand(){
        return this.shortHand;
    }
}
